Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Salient unread messages to avoid missing new mail #29

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dangom
Copy link

@dangom dangom commented Dec 17, 2020

The default strong coloring for unread messages make them indistinguishable from read messages. This PR fixes this (although I could see this is a matter of opinion, so feel free to close this if that's not wished for).

@rougier
Copy link
Owner

rougier commented Dec 17, 2020

That's weird because for me, read message are default and unread strong. You mean the difference in weight is not enough?
Also, we can inherit both strong and salient (maybe in that order or reverse).

@dangom
Copy link
Author

dangom commented Dec 17, 2020

For me I see no difference at all between read and unread. At least on my monitor and set up (macos 10.15 without font smoothing) I can't tell the difference. I'm using size 12 for the fonts though, so maybe that's the issue? Deriving from both would perhaps be an even better idea.

@rougier
Copy link
Owner

rougier commented Dec 18, 2020

Oh I see. On BigSur, there's a bug in font selection and you cannot set the light/regular weights. That might be related. What I did to temporarily fix the problem was to derive 2 different fonts from Roboto Mono to have the right weight. I can upload them to the repository if this is also the bug for you. Best would be to starts emacs -q and select Roboto Light and Roboto Medium and check if you see any difference.

@dangom
Copy link
Author

dangom commented Dec 22, 2020

I'm not affected by the bug, as I'm still in Catalina. but somehow I couldn't see any difference. Also, do you know if different weights also have different heights? I can see fonts jumping sometimes if they change weight - see gif below:

font-jump

Does this happen only at my end?

@rougier
Copy link
Owner

rougier commented Dec 23, 2020

There's something weird with your fonts because the weights should not affect the baseline. Can you check in textedit (or Pages for example) if the bug is the same?

@dangom
Copy link
Author

dangom commented Dec 24, 2020

No - it seems the issue happens because I wasn't loading nano-layout. That first sexp setting the default frame parameters seems to be required for properly setting fonts. Apparently otherwise the default font size leads to different weights having different heights.

@rougier
Copy link
Owner

rougier commented Dec 25, 2020

I'll soon add a nano-typography.el file to separate the font definition that will hopefully solve your problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants